#set( $symbol_pound = '#' )
#set( $symbol_dollar = '$' )
#set( $symbol_escape = '\' )
package ${package}.common.bean.po;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * Description: jwt的实体类
 *
 * @author ywh
 * @date 2019/8/6 15:28
 *
 * <pre>
 *              ${copyright}
 *      Copyright (c) 2019. All Rights Reserved.
 * </pre>
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class JwtDetails {

    /**
     * 用户信息
     */
    @ApiModelProperty("用户信息")
    private List<User> additionalInformation;

    /**
     * token存活时间
     */
    @ApiModelProperty("token存活时间")
    private Long expiresIn;

    /**
     * token
     */
    @ApiModelProperty("token")
    private String value;

    /**
     * 客户端的域
     */
    @ApiModelProperty("客户端的域")
    private List<String> scope;

}